package test.entity;

public class Strawberries  extends  Product{

    private double discount;

    public Strawberries(Double price, Integer weight, double discount) {
        super(price, weight);
        this.discount = discount;
    }

    public Strawberries(Double price, Integer weight) {
        super(price, weight);
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }
}
